-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use high watermark to finish backfill faster #18342
refactor: use high watermark to finish backfill faster #18342
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
6fb622b
to
0eaf49f
Compare
aa5610d
to
272a7a4
Compare
0eaf49f
to
d2bc71a
Compare
c8b80b7
to
2b8f062
Compare
d2bc71a
to
051239b
Compare
efc2a77
to
dc3aae9
Compare
4a5c008
to
1a663a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great work
@@ -21,7 +44,7 @@ create source s0 (v1 int, v2 varchar) with ( | |||
scan.startup.mode = 'earliest' | |||
) FORMAT PLAIN ENCODE JSON; | |||
|
|||
query I | |||
query ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When do we need to use ?
instead of I
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently sqllogictest --override
will produce ?
. Actually the character doesn't have any meaning now, any character will pass test..
system ok | ||
internal_table.mjs --name s0 --type source | ||
---- | ||
(empty) | ||
|
||
|
||
# offset 0 must be backfilled, not from upstream. | ||
# SourceBackfill starts from offset 0, with backfill_info: HasDataToBackfill { latest_offset: "0" } (decided by kafka high watermark). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, what will the high watermark value be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
step 2 & 3 of #18299, see there for the motivation and a state diagram of the new design.
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.